filechooser: Avoid a critical
authorMatthias Clasen <mclasen@redhat.com>
Sat, 3 Jul 2021 19:15:06 +0000 (15:15 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 3 Jul 2021 19:15:06 +0000 (15:15 -0400)
commit8ff9c851ce6ab14eeccc8b0fdffec6181b26ac90
tree31a5c0b0536316ff3fccfa06071695edca47cb2e
parentc88dc98b7c2cc3c64569055770108a4bbc997a04
filechooser: Avoid a critical

This was showing up when calling some filechooser api on
a native filechooser, where we use a filechooser dialog
behind the scenes, but it does not have focus.

Fixes: #4077
gtk/gtkfilechooserwidget.c